<?php /* Smarty version 2.6.18, created on 2017-01-04 16:47:38
         compiled from index.left.tpl.php */ ?>
  <aside class="main-sidebar">
    <section class="sidebar">
      <!-- Sidebar user panel -->
      <div class="user-panel">
        <div class="pull-left">
          <!--<img src="dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">-->
          	<div class="wrap clearfix">
                <div class="calendarright">
                    <div class="huangli huanglitoday" style="width:90px; height:80px; background-color: transparent;">
                        <div class="bigday" style="color:#fff; padding:0;"><?php echo $this->_tpl_vars['time_left']['day']; ?>
</div>
                        <div class="date" style="color:#fff;"><?php echo $this->_tpl_vars['time_left']['month']; ?>
<br/><?php echo $this->_tpl_vars['time_left']['week']; ?>
</div>
                    </div>
                </div>
            </div>
        </div>
        <div class="pull-left info">
          <p><span style="font-size:16px;"><a href="index.php?a=user.info"><?php echo $this->_tpl_vars['user_auth']['user_title']; ?>
</a></span> <span style="font-size:12px; font-weight:500;"><?php echo $this->_tpl_vars['user_auth']['type_note']; ?>
</span></p>
          <p style="font-size:12px; font-weight:500;"> 欢迎进入系统 </p>
        </div>
      </div>     
	 
      <ul class="sidebar-menu">
        <li><a href="index.php"><i class="fa fa-home"></i> 系统首页</a></li>
		 <?php echo $this->_tpl_vars['menu_left']; ?>


		<li class="treeview">
		  <a href="#">
            <i class="fa fa-feed (alias)"></i> <span>平台管理</span>
            <i class="fa fa-angle-left pull-right"></i>
          </a>
		<?php if ($this->_tpl_vars['user_auth']['user_type'] == 'admin'): ?>	
		  <ul class="treeview-menu">
				<li><a href="index.php?a=menu.list"><i class="fa fa-circle-o"></i> 菜单管理</a></li>				<li><a href="index.php?a=log.list"><i class="fa fa-circle-o"></i> 系统日志</a></li>
				<li><a href="index.php?a=mysql.backups"><i class="fa fa-circle-o"></i> 数据库备份</a></li>	
				<li><a href="index.php?a=baseset.surl"><i class="fa fa-circle-o"></i> 平台链接</a></li>
				<li><a href="index.php?a=link.list"><i class="fa fa-circle-o"></i> 常用网址管理</a></li>
				<li><a href="index.php?a=run.list"><i class="fa fa-circle-o"></i> 快捷运行管理</a></li>
				<li><a href="index.php?a=user.list"><i class="fa fa-circle-o"></i> 用户管理</a></li>
				<li><a href="index.php?a=group.list"><i class="fa fa-circle-o"></i> 用户组管理</a></li>
            </ul>
		<?php endif; ?>
     </li>

	</ul>
    </section>
    <!-- /.sidebar -->
  </aside>